package com.wang.friend.domain.exam.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class ExamRankVO {

    @Schema(description = "竞赛id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long userId; //这里必须加上userId,因为用户有可能重名

    @Schema(description = "昵称")
    private String nickName;

    @Schema(description = "竞赛排名")
    private int examRank;

    @Schema(description="分数")
    private int score;

}
